<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri= "http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

<title>注册提示信息</title>
     <link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">

    img{
    width: 75px;
    height: 75px; 
    }
    
    #text{
    font-family: "微软雅黑";
    font-size: 35px;
    font-weight: 800;
    color: gray;
    margin-top: 12px;
    }
    
     #fir_btn2{
    background-color:	geeen;
    width: 150px;
    height: 50px;
    font-weight: 500;
    font-size: 25px;
    }
    
    .footer {
	text-align: center;
	margin-top: 400px;
	margin-bottom: 20px;
}
</style>
</head>

<body>
	<br><br><br><br>
   <c:if test="${sessionScope.flag==true }">
    <div  id="success" class="container">
    <div  class="row">
      <div class="col-sm-offset-4 col-sm-1"><img alt="success" src="./img/success.png" ></div>
      <div class="col-sm-3" id="text" >恭喜您注册成功</div>
    </div>
    <br>
    <div class="row">
    <div class="col-sm-offset-5 col-sm-3" id="sec">
	    <a href="./Login.jsp" class="btn btn-default  active" role="button"  id="fir_btn2">
	    	   返回登录
	    </a></div>
    </div>             
   </div>
   </c:if>
   
   <c:if test="${sessionScope.flag==false}">
    <div  id="success" class="container">
    <div  class="row">
      <div class="col-sm-offset-4 col-sm-1"><img alt="fail" src="./img/fail.png" ></div>
      <div class="col-sm-3" id="text" >注册失败，请稍后再试</div>
    </div>
    <br>
    <div class="row">
    <div class="col-sm-offset-5 col-sm-3" id="sec">
	    <a href="./index.html" class="btn btn-default  active" role="button"  id="fir_btn2">
	    	   返回首页
	    </a></div>
    </div>             
   </div>
   </c:if>
   
  <div class="footer">
		<hr>
		Copyright © 2020, <a href="./index.html">&#160&#160嗣食肆&#160</a>&#160All
		Rights Reserved
	</div>
            
</body>
    <script src="js/jquery-3.2.1.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
</html>